package com.admin.mapper;

import com.admin.domain.Region;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper类
 */
public interface RegionMapper extends BaseMapper<Region> {

    List<Region> getAllCountry(Region regions);

    List<Region> findByIds(@Param("regionIds") List<Integer> regionIds);

    List<Integer> findChildren(@Param("parentIds") List<Integer> parentIds);
}